<?php
/**
 * 工资汇总模型
*/

namespace app\common\model;

use think\model\concern\SoftDelete;

class SalaryTotalDatas extends Model
{
    use SoftDelete;
    public $softDelete = true;
    protected $name = 'salary_total_datas';
    protected $autoWriteTimestamp = true;

    //可搜索字段
    protected $searchField = [];

    //是否启用获取器
    public function getStatusTextAttr($value, $data)
    {
        return self::BOOLEAN_TEXT[$data['status']];
    }

    

    
}
